<?php

return array(
    'router' => array(
        'routes' => array(
            'home' => array(
                'type' => 'Zend\Mvc\Router\Http\Segment',
                'options' => array(
                    'route'    => '/[:action][/:id]',
                    'constraints'=>array(
                        'action'=>'\w+',
                        'id'=>'\d+',

                    ),
                    'defaults' => array(
                        'controller' => 'Novel\Controller\Index',
                        'action'     => 'index',
                    ),
                ),
            ),

        ),
    ),


    'controllers' => array(
        'invokables' => array(
            'Novel\Controller\Index' => 'Novel\Controller\IndexController'
        ),
    ),
    'view_manager' => array(
        'template_path_stack' => array(
            __DIR__ . '/../view',
        ),
    ),

);
